package com.woniu.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.core.entity.CoreTender;
import com.woniu.finance.entity.Tender;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CoreTenderMapper extends BaseMapper<CoreTender> {
    List<CoreTender> selectTender(@Param("coreId") String coreId);

    void updateTenderCoreAuditResults(@Param("tenderId") Integer tenderId,
                                      @Param("coreAuditResults") Integer coreAuditResults);
}
